package com.medical.seckill.service;

import com.medical.seckill.to.RedisGoodsTo;
import com.medical.seckill.to.SessionTo;

import java.util.List;

public interface SeckillService {
    void findUploadSeckill();

    List<RedisGoodsTo> getCurrentGoodsAndSession();

    List<RedisGoodsTo> getGoodsBySession(String key);

    List<SessionTo> getSession();

    String startKill(String kid, Integer num, String randomCode);
}
